package com.igeek.compus.study.product.dao;

import com.igeek.compus.study.product.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductDao {
    List<Product> getProductList(Product product);

    int updateProduct(Product product);

    int deleteProductById(Integer id);

    int addProduct(Product product);

    int deleteProductList(@Param("productIds") List<String> productIds);
}
